﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="QL_NgheLuat.aspx.cs" Inherits="Admin_News_QL_NgheLuat" %>
<%@Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>NGHE LUAT MANAGE</title>
    <style type="text/css">
        .style2
        {
            width: 633px;
        }
        .style3
        {
            width: 258px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>Chọn Mục : 
            <asp:DropDownList ID="DropDownList1" runat="server" Height="35px" Width="263px">
            </asp:DropDownList>
            <asp:Button ID="btnChonMuc" runat="server" Text="Chọn" Width="156px" 
                onclick="btnChonMuc_Click" />
        </div>
        <asp:Label ID="lblError" runat="server" Text="Label" Font-Bold="True" 
        Font-Overline="False" Font-Size="XX-Large" Font-Underline="True" 
        ForeColor="Red" Visible="False"></asp:Label>
&nbsp;<table border="0" style="width: 100%; height: 372px;" frame="border">
        <tr>
            <td align="right" class="style3">
                <asp:Label ID="Label1" runat="server" Text="Tiêu Đề ( bắt buộc)"></asp:Label>
            </td>
            <td class="style2">
                <asp:TextBox ID="txtTieude" runat="server" Width="220px" MaxLength="100"></asp:TextBox>
            &nbsp;Tối đa 40 ký tự</td>
            <td rowspan="5">
            <CKEditor:CKEditorControl ID="CKEditor1" runat="server" Height="852px" 
                    ResizeMinHeight="700" TextMode="MultiLine" Width="623px" 
                    style="margin-top: 0px; margin-left: 0px;" ImagePreviewText="../images/"></CKEditor:CKEditorControl>
            </td>
        </tr>
        <tr>
            <td align="right" class="style3">
                <asp:Label ID="Label2" runat="server" Text="Nd tóm tắt (bắt buộc)"></asp:Label>
            </td>
            <td class="style2">
                <asp:TextBox ID="txtNDTomtat" runat="server" Height="62px" MaxLength="200" 
                    Rows="10" TextMode="MultiLine" Width="220px"></asp:TextBox>
                Tối đa 200 ký tự</td>
        </tr>
        <tr>
            <td align="right" class="style3">
                <asp:Label ID="Label4" runat="server" Text="Ngày Đăng tin (bắt buộc)"></asp:Label>
            </td>
            <td class="style2">
                <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
                    BorderColor="#3366CC" BorderWidth="1px" CellPadding="1" 
                    DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" 
                    ForeColor="#003399" Height="200px" Width="220px">
                    <SelectedDayStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
                    <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
                    <WeekendDayStyle BackColor="#CCCCFF" />
                    <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
                    <OtherMonthDayStyle ForeColor="#999999" />
                    <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
                    <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
                    <TitleStyle BackColor="#003399" BorderColor="#3366CC" BorderWidth="1px" 
                        Font-Bold="True" Font-Size="10pt" ForeColor="#CCCCFF" Height="25px" />
                </asp:Calendar>
            </td>
        </tr>
        <tr>
            <td align="right" class="style3">
                <asp:Label ID="Label5" runat="server" Text="Hình Ảnh"></asp:Label>
            </td>
            <td class="style2">
               1.  <asp:FileUpload ID="FileUpload1" runat="server"/>
                 <br />
               2. <asp:FileUpload ID="FileUpload2" runat="server"/>
                 <br />
               3. <asp:FileUpload ID="FileUpload3" runat="server"/>
                <br />
               4.  <asp:FileUpload ID="FileUpload4" runat="server"/>
                <br />
               5. <asp:FileUpload ID="FileUpload5" runat="server"/>
            </td>
        </tr>
        
        <tr>
            <td align="right" class="style3">
                &nbsp;</td>
               
            <td class="style2"><asp:CheckBox id="chk_source" runat="server" Text="Copy ?" />
                <br />
                <asp:Button ID="btnSave" runat="server" onclick="btnSave_Click" Text="Lưu" 
                    Width="220px" style="height: 26px" />
                <asp:Button ID="BtnCancel" runat="server" onclick="BtnCancel_Click" Text="Hủy" 
                    Width="220px" />
                <br />
         
            </td>
        </tr>
    </table>
        
    </div>
              <asp:DataList ID="DataListYahoo" runat="server" CellPadding="4" 
                  ForeColor="#333333" BorderStyle="Solid" BorderWidth="1px" GridLines="Both">
                  <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                      <ItemTemplate>
                       <div style="float:left;">
                        <div style="float:left;width:100px;"><%# DataBinder.Eval(Container.DataItem, "NgheLuatID")%></div>
                        <div style="float:left;width:500px;"><%# DataBinder.Eval(Container.DataItem, "NgheLuatName")%></div>
                        <div style="float:left;width:100px;"><a href='QL_NgheLuat.aspx?delete=<%# DataBinder.Eval(Container.DataItem, "NgheLuatID")%>'>
                            Xóa</a></div>
                       </div>
                      </ItemTemplate>
                  <AlternatingItemStyle BackColor="White" />
                  <ItemStyle BackColor="#E3EAEB" />
                  <SelectedItemStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                  <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
              </asp:DataList>
    </form>
</body>
</html>
